package com.BlogPark.service.NoticeService;

import com.BlogPark.pojo.Notice;

import java.util.List;

/**
 * 发布公告
 */
public interface NoticeService {
    //添加公告
    public int addNotice(Notice notice);

    //查询所有公告按日期排序
    public List<Notice> selectAll();

    //删除指定id的公告
    public int deleteById(Integer id);

    public int deleteByBatch(Integer[] ids);
}
